package com.example.back.dto.req;


import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "修改密码请求体")
public class ChangePasswordReq implements Serializable {

    @ApiModelProperty(value = "旧密码")
    @JSONField(name = "oldpwd")
    private String oldpwd;

    @ApiModelProperty(value = "新密码")
    @JSONField(name = "newpwd")
    private String newpwd;
}
